package structureType.decorator.decorator;

import structureType.decorator.dancer.IDancer;

public class DancerDecorator implements IDancer {

    private IDancer iDancer;

    public DancerDecorator(IDancer iDancer) {
        this.iDancer = iDancer;
    }

    @Override
    public void dance() {
        System.out.println("开始装饰。。。");
        System.out.println("化妆，把这个dancer打扮的漂亮一点");
        iDancer.dance();
        System.out.println("跳舞结束，卸妆");
    }
}
